<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang='zh'>
<head>
<meta charset='UTF-8'>
<title>Insert title here</title>
<script type="text/javascript">
	function method01(){
		var textErrorElement=document.getElementById('user_descerror');
		textErrorElement.innerHTML='<font>*备注必须更改</font>';
		//获取文本框里输入的内容
		var textElement=document.getElementById('user_desc');
		var textContent=textElement.value;
		//判断是否符合条件
		if(!(textContent!=null)){
			textErrorElement.innerHTML='<font>*备注未更改</font>';
			return false;
		}
		return true;
	}
</script>
</head>
<body>
<form action='${pageContext.request.contextPath }/servlet/finduserpageforservlet' method="post">
id:<input type='text' name='user_id' readonly='readonly' value='${updateuser.id }'><br>
用户名：<input type='text' name='user_name' value='${updateuser.userName }'><br>
备注：<input type='text' id='user_desc' value='${updateuser.userDesc }'><span id="user_descerror"><font>*备注必须更改</font></span><br>
状态：<input type='radio' name='user_flag' value='1' ${updateuser.userFlag==1?"checked='checked'":" " }>
启用<input type='radio' name='user_flag' value='0' ${updateuser.userFlag==0?"checked='checked'":" " }>
 禁用<br>
<input type='submit' value='更新'>
<input type='reset' value='清空'>

</form>
</body>
</html>